<?php $view = $this; if(1!=1)$view = new View(); ?>
<p><a href="index.php?m=people&a=add" onclick="showWindow('addpeople', this.href, 'get', 1, {'cover':'1'}); return false;">增加人员</a></p>
<table style="width:100%;" class="data">
<tr><th>ID</th><th>PeopleName</th><th>PeopleType</th><th>Status</th><th>Remark</th></tr>
<?php foreach($this->People as $k=>$v):?>
<tr>
<td><?php echo $v['AID'];?>&nbsp;</td>
<td><?php echo $v['PeopleName']?>&nbsp;</td>
<td><?php echo $v['PeopleType'] == 0 ? '家庭成员' : '往来人员'?>&nbsp;</td>
<td><?php echo $v['Status'] == 1 ? '启用' : '禁用'?>&nbsp;</td>
<td><?php echo $v['Remark']?>&nbsp;</td>
</tr>
<?php endforeach;?>
</table>